package cn.nexd.location.core;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;

/**
 * Created by admin on 15/8/30.
 */
public class CoreFileLoader {

    public String[] wifi_list;

    public void loadWifiList(InputStream inputStream) throws IOException {
        BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(inputStream));
        try {
            //            List<String> res = new ArrayList<>();
            String line = bufferedReader.readLine();
            this.wifi_list = line.split(",");
        } finally {
            bufferedReader.close();
        }
    }


}
